<html lang="en" class="mini-xs mini-sm mini-md mini-lg mini-lg-active">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>basecef</title>
    <link rel="stylesheet" type="text/css" href="mainframe.css">
</head>

<body style="zoom: 1; visibility: visible;">
    <!-- 顶部导航开始 -->
    <nav id="header-nav" class="header-nav drag-able">
        <div id="jtitle" class="jtitle none-drag">标题</div>
        <ul class="nav-tools right none-drag">
            <li class="nav-tool-item">
                    <img id="logo" class="nav-link fa fa-quit" onclick="closeWindow()" src="guanbi.png" alt="">
            </li>
            <li class="nav-tool-item">
                    <img id="logo" class="nav-link fa fa-expand" onclick="setScale('Maximize')" src="zuidahua_2.png" alt="">
            </li>
            <li class="nav-tool-item">
                    <img id="logo" class="nav-link fa fa-minus" onclick="setScale('Minimize')" src="zuixiaohua.png" alt="">
            </li>
        </ul>
    </nav>
    <!-- 客户端可拖拽边界 -->
    <div id="leftone" class="drag-able"></div>
    <div id="rightone" class="drag-able"></div>
    <div id="bottomone" class="drag-able"></div>
    <div id="topright" class="drag-able"></div>
    <div id="bottomright" class="drag-able"></div>
    <!-- 客户端可拖拽边界 -->
</body>
<script type="text/javascript">
    function setScale(message) {
        if (message !== 'Minimize' &&  message !== 'Maximize')
            return;
        try {
            window.cefQuery({
                'request': 'WindowTest.' + message
            });
        } catch (e) { }
    }
    function closeWindow() {
        window.close();
    }
</script>

</html>